package cn.wolfcode.luowowo.article.domain;

import cn.wolfcode.luowowo.common.domain.BaseDomain;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Getter
@Setter
public class Vipticket extends BaseDomain{

    public static final int STATE_NORMAL = 0; //正常
    public static final int STATE_DISABLE = 1; //禁用

    private String name;

    private Long ticId;

    private BigDecimal lvprice;

    private String lookTime;

    private String shoukown;

    private String prefer;

    private int type;

    public String getType(){
        return type == STATE_NORMAL ? "成人票" : "优惠票";
    }

}